<template>
  <div class="container">
    <div class="topBanner">
        <v-header></v-header>
    </div>
    <div class="main">
    <v-slider></v-slider>
    <router-view></router-view>
    </div>

  </div>
</template>

<script>
import slider from "../slider/index.vue";
import header from "../header/header.vue";

export default {
  data() {
    return {
      api: global.api
    };
  },
  components: {
    "v-slider": slider,
    // "v-view": view,
    "v-header": header
  }
};
</script>

<style>

.main {
  height: 100%;
  width: 100%;
  display: flex;
  font-size: 0.2rem;
}
.topBanner {
  font-size: 0.2rem;
}
</style>
